package com.app.service;


import com.app.model.VideoTrainModel;
import com.app.vo.VideoTrainVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


public interface VideoTrainService {

    void insert(VideoTrainModel model);

    void update(VideoTrainModel model);

    void delete(int id);


    Page<VideoTrainModel> getListByModel(VideoTrainModel model);

    int getModelByCount(VideoTrainModel model);

    Page<VideoTrainModel> bakGetListByModel(VideoTrainModel model);

    VideoTrainVo videoList(VideoTrainModel model);

    VideoTrainModel getVideoById(int id);

    Integer selectCount();

    Page<VideoTrainModel> courseList(Integer page, Integer limit);
}
